package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.BpmnInfo;
import cn.wolfcode.car.business.query.BpmnQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.InputStream;

/**
 * @Author WaveHi
 * @Date 17/11/2021 上午 10:45
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
public interface BpmnInfoService extends IService<BpmnInfo> {
    TablePageInfo<BpmnInfo> getPartOfBpmnInfos(BpmnQuery bpmnQuery);

    Boolean add(BpmnInfo bpmnInfo);

    InputStream getResources(String deploymentId, String type);

    BpmnInfo queryByType(String car_package);

    BpmnInfo getBpmnInfo(Long bpmnInfoId);

    Boolean delete(Long id);
}
